Example: GetPlayerVar($user, 'NickName')
returns this error spammed in the lapper console window when started, and doesn't return anything in the ERR file:
An example as to why I would use ' instead of " is when nesting a GetPlayerVar into a string such as:
I try not to use the same quote as the string itself for reasons that should be obvious (but apparently lapper doesn't care about it).
returns this error spammed in the lapper console window when started, and doesn't return anything in the ERR file:
Illegal character: <'> at line #1
Error: Illegal character. at line #1
An example as to why I would use ' instead of " is when nesting a GetPlayerVar into a string such as:
<?php
$string = "Hello,".GetPlayerVar($user, 'NickName')."!"
?>