15.01.2011, 08:46
hey guys i dunno if this is a pickup but how do i make this ive got a picture of it and how do i make it say "hello" when u walk into it . if you can just write it then i can copy and put teleports etc in it thx

public OnPlayerConnect(playerid)
{
SetPlayerCheckpoint(playerid, Float:cp_x, Float:cp_y, Float:cp_z, 5.0);// keep in mind only one checkpoint
return 1; //can be shown to a player at any one time.
} //So try to find a streamer that will stream them for you.
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0,Float:cp_x, Float:cp_y, Float:cp_z))
GameTextForPlayer(playerid, "HELLO!", 3000, 3);
return 1;
}
pawn Код:
|
pawn Код:
|
C:\Users\Stephen-Laptop\Desktop\server samp\gamemodes\Cookiemod.pwn(76) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.