Underneath SetPlayerSkin, simply declare the string "fstr". This is a very common and basic error. Before you try going more advanced, you should really learn these basics.
Declaration is done by using the "new"-keyword:
pawn Код:
new
myInteger,
myArray[ numCells ],
bool:myBool,
Float:myFloat;
Here are the most used standard variables.
A string is simply an array, so to easily fix this problem, you need to declare "fstr" as an array, unless you want a tag mismatch warning + a non-functional code:
pawn Код:
new
fstr[ 128 ]; //128 cells = 127 characters + '\0' - which is the max output for in-game chat in SA-MP
And there you go. All four errors should now be gone, and the code should be fully functional.